/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exatrez.stripes.action;

import able.stripes.JSP;
import exatrez.model.Email;
import exatrez.model.Groups;
import exatrez.stripes.BaseActionBean;
import exatrez.stripes.config.AuthRequired;
import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.Resolution;
import net.sourceforge.stripes.action.UrlBinding;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 * @author wan.fairul
 */
@UrlBinding("/adminEmail")
@AuthRequired
public class EmailAction extends BaseActionBean {

    private static Logger LOG = LoggerFactory.getLogger(EmailAction.class);
    private Email email;
    
    
    @DefaultHandler
    public Resolution add_group() {
        email = new Email();
        return new JSP("admin/email_content.jsp");
    }

    public Email getEmail() {
        return email;
    }

    public void setEmail(Email email) {
        this.email = email;
    }   
    
}
